Ext.define("AM.store.StoreComboCild", {
    extend: "Ext.data.Store",
    model: "AM.model.ModelCombo",
    //autoLoad: true,
    proxy: {
        type: "ajax",
        url: "data/tools.php",
        reader: {
            type: 'json',
            root: 'rows',
        },
        extraParams: {
        	acction: 'combocild',
        	UserID: '1',
        	}
    }/*,
    listeners: {
        beforeload: function(store, operation, eOpts) {
            if (window.console && console.log)
                console.log("Store.beforeload (Countries)");
        },
        beforeprefetch: function(store, operation, eOpts) {
            if (window.console && console.log)
                console.log("Store.beforeprefetch (Countries)");
        },
        load: function (store, records, successful, operation) {
            if (window.console && console.log)
                console.log("Store.load: successful=%s (Countries)", successful);
        },
        update: function (store, record, operation, eOpts) {
            if (window.console && console.log)
                console.log("Store.update (Countries)");
        }
    }*/
});
